package cate.game.train.equip.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import easy.java.dev.note.NoteField;

import java.util.ArrayList;
import java.util.List;

@ClientMsg(title = "英雄脱装备の 返回")
public class HeroEquipOffResp implements MsgOutput {

    @NoteField(value = "英雄ID", detail = "脱的是哪个英雄的装备")
    public String heroUid;

    @NoteField(value = "脱下的装备部位们")
    public List<Byte> posList = new ArrayList<>();

    public HeroEquipOffResp(){

    }

    public HeroEquipOffResp(String heroUid, List<Byte> posList){
        this.heroUid = heroUid;
        this.posList = posList;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.HERO_EQUIP_OFF_RESP;
    }
}
